package com.ruoyi.develop.projectInvoiceInfo.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.develop.projectFundBack.domain.ProjectFundBack;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目开票信息管理对象 project_invoice_info
 *
 * @author qh
 * @date 2023-01-10
 */
public class ProjectInvoiceInfo extends BaseEntity {
private static final long serialVersionUID=1L;

    /** 主键 */
    private String id;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 开票金额 */
    @Excel(name = "开票金额")
    private BigDecimal invoiceMoney;

    /** 开票日期 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @Excel(name = "开票日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date invoiceDate;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String infomation;

    /** 项目id */
    @Excel(name = "项目id")
    private String projectId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;
    @Excel(name = "发票编号")
    private String taxNo;

    private String status;

    private BigDecimal remainMoney;

    private BigDecimal backMoney;

    private ProjectFundBack projectFundBack = new ProjectFundBack();

    @Excel(name = "发票代码")
    private String preNo;


    public String getPreNo() {
        return preNo;
    }

    public void setPreNo(String preNo) {
        this.preNo = preNo;
    }

    public ProjectFundBack getProjectFundBack() {
        return projectFundBack;
    }

    public void setProjectFundBack(ProjectFundBack projectFundBack) {
        this.projectFundBack = projectFundBack;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public BigDecimal getRemainMoney() {
        return remainMoney;
    }

    public void setRemainMoney(BigDecimal remainMoney) {
        this.remainMoney = remainMoney;
    }

    public BigDecimal getBackMoney() {
        return backMoney;
    }

    public void setBackMoney(BigDecimal backMoney) {
        this.backMoney = backMoney;
    }

    public String getTaxNo() {
        return taxNo;
    }

    public void setTaxNo(String taxNo) {
        this.taxNo = taxNo;
    }

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }
    public void setInvoiceMoney(BigDecimal invoiceMoney)
            {
            this.invoiceMoney = invoiceMoney;
            }

    public BigDecimal getInvoiceMoney()
            {
            return invoiceMoney;
            }
    public void setInvoiceDate(Date invoiceDate)
            {
            this.invoiceDate = invoiceDate;
            }

    public Date getInvoiceDate()
            {
            return invoiceDate;
            }
    public void setInfomation(String infomation)
            {
            this.infomation = infomation;
            }

    public String getInfomation()
            {
            return infomation;
            }
    public void setProjectId(String projectId)
            {
            this.projectId = projectId;
            }

    public String getProjectId()
            {
            return projectId;
            }
    public void setProjectName(String projectName)
            {
            this.projectName = projectName;
            }

    public String getProjectName()
            {
            return projectName;
            }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("delFlag",getDelFlag())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("remark",getRemark())
            .append("invoiceMoney",getInvoiceMoney())
            .append("invoiceDate",getInvoiceDate())
            .append("infomation",getInfomation())
            .append("projectId",getProjectId())
            .append("projectName",getProjectName())
        .toString();
    }
}
